<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改页面</title>
</head>
<body>
    <form action="{:url('School/editpost')}" method="post">
        <div>
            <label>学校名称：</label>
            <input type="text" name="school_name" value="{$user.school_name}"/>
        </div>
        <div>
            <label>所在地区：</label>
            <select name="city">
                <option>请选择</option>
                <option value="泰安市"<?php if ($user['city']=='泰安市') {echo "selected";}?>>泰安市</option>
                <option value="济宁市"<?php if ($user['city']=='济宁市') {echo "selected";}?>>济宁市</option>
                <option value="济南市"<?php if ($user['city']=='济南市') {echo "selected";}?>>济南市</option>
            </select>
            <input type="hidden" value="{$user.id}" name="id"/>

        </div>
        <div>
            <input type="submit" value="修改"/>
        </div>
    </form>
</body>
</html>